import { globalStorage } from './storage'

export function getToken() {
  return globalStorage.load('token')
}

export function setToken(token: string) {
  return globalStorage.save('token', token)
}

export function removeToken() {
  return globalStorage.remove('token')
}